package com.achobeta.recruitment.service.wx;

import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 马拉圈
 * Date: 2023-10-26
 * Time: 11:43
 */
public interface WxService {

    /**
     * 检测请求是否来自公众号
     * @param signature
     * @param timestamp
     * @param nonce
     * @param echostr
     * @return
     */

    String check(String signature, String timestamp, String nonce, String echostr);


    /**
     * 处理用户消息
     * @param map
     * @return
     */
    String handleMessage(Map<String, Object> map);



    String createSignUpRedirectUri(Map<String, Object> map);
}
